<template>
    <div class="index-page">
        <Header />
        <div class="index-container flex">
            <div class="index-content">
                <keep-alive>
                    <router-view></router-view>
                </keep-alive>
            </div>
        </div>
    </div>
</template>
<script setup>
import { ref } from 'vue'
import { useRoute } from 'vue-router'
import Header from '@/layout/Header.vue'
const route = useRoute()
</script>

<style lang="scss" scoped>
.index-page {
    height: 100%;
    width: 100%;

    .index-container {
        width: 100%;
        height: 100%;

        .index-content {
            flex: 1;
            height: 100%;
            overflow-y: auto;

            &::-webkit-scrollbar {
                display: none;
            }
        }
    }
}
</style>
